package com.imooc.socialecom.service;

import com.imooc.socialecom.pojo.MessageInfo;

import java.io.IOException;

public interface MessageService {

    MessageInfo postMessage(MessageInfo messageInfo) throws IOException;

    MessageInfo getMessage(String id) throws IOException;

}
